package com.app.service;

import com.app.model.AnswerModel;
import com.app.model.BusinessModel;
import com.app.model.PlanBusinessModel;
import com.app.vo.AttractVo;
import com.app.vo.BusinessPlanVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface AttractInvestmentService extends IService<BusinessModel> {
    BusinessPlanVo AttractList(PlanBusinessModel model);

    List<BusinessModel> getListByModel(BusinessModel model);

    int getCountByModel(BusinessModel model);

    void add(BusinessModel model);

    void updateFunds(BusinessModel model);

    void delete(int id);

    AttractVo selectCompletion(BusinessModel model);

    AttractVo selectCompletionByTime(BusinessModel model);

    void savePlan(PlanBusinessModel model);

    void addPlan(PlanBusinessModel model);


    BusinessPlanVo selectPlan(PlanBusinessModel model);

    AnswerModel selectCount();

    BusinessModel selectOne();

    List<PlanBusinessModel> getBusinessTable();

    List<BusinessModel> getList();
}
